#ifndef SHELL_H
#define SHELL_H

#include "App_Debug.h"
//#define PRINT_HEX 0x00
//#define PRINT_DEC 0x01

#define OS_SHELL_MAX_PARA_NUM  32
/*
typedef struct{
  char *pName;
  unsigned char (*pCmdFunc)(unsigned char Argc,char **Argv);
}S_OS_Shell_Cmd;
*/
extern volatile unsigned char Print_Flag;

void Shell_Proc(void);
void DEBUG_PRINT(char *format,...);
void Debug_Buf_Print(char * Src, unsigned int SrcLen, char Flag);
void Set_Debug(unsigned char flag);

unsigned char SetPulse(unsigned char argc, char **argv);
unsigned char CommandG01(unsigned char argc, char **argv);
unsigned char CommandG02(unsigned char argc, char **argv);
unsigned char SetSpeed(unsigned char argc, char **argv);
#endif
